package com.xiaoshuidi.cloud.module.contract.convert.contract;

import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.settlement.ContractSettlementListReqVO;
import com.xiaoshuidi.cloud.module.contract.controller.admin.contract.vo.settlement.SettlementDetailBaseVO;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.contract.*;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 交房退房 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface ContractSettlementConvert {

    ContractSettlementConvert INSTANCE = Mappers.getMapper(ContractSettlementConvert.class);

    SettlementDetailBaseVO convert(SettlementDetailDO bean);

    ContractSettlementListReqVO convert(SettlementDO bean);
}
